package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.List;


public interface DishService extends IService<Dish> {
    //添加菜品和口味
    void saveWithFlavor(DishDto dishDto);

    //回显数据
    DishDto getWithFlavor(Long id);

    //更新数据
    void updateWithFlavor(DishDto dishDto);

    //删除菜品及口味信息
    void deleteWithFlavor(List<Long> ids);
}
